<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
</head>
<body>
	<form action="update" method="post">
	{{ csrf_field() }}
	<input type="hidden" name="id" value="<?=$res->id ?>">
		<table>
			<tr>
				<td>姓名:</td>
				<td><input type="text" name="name" value="<?=$res->name;?>"></td>
			</tr>
			<tr>
				<td>年龄:</td>
				<td><input type="text" name="age" value="<?=$res->age;?>"></td>
			</tr>
			<tr>
				<td>性别:</td>
				<td><input type="text" name="sex" value="<?=$res->sex;?>"></td>
			</tr>
			<tr>
				<td><input type="submit" value="修改"></td>
			</tr>
		</table>
	</form>
</body>
</html>